﻿using System;
using System.Collections.Generic;
using FireFly;
using System.Reflection;
using System.Collections;
using System.Windows;
using System.ComponentModel;

namespace XAMLStylePad.ViewModels
{
    public class ParameterViewModel : VariableViewModel
    {
        ParameterInfo _param;

        public ParameterViewModel(ParameterInfo param)
        {
            _param = param;
        }

        public override Type Type
        {
            get
            {
                return _param.ParameterType;
            }
        }

        public bool IsInstantiated { get; set; }

        public override string Name
        {
            get
            { 
                return _param.Name;
            }
        }

        public override bool IsReadOnly
        {
            get
            {
                return false;
            }
        }
    }
}